<!DOCTYPE html>
<html class="x-admin-sm">

	<head>
		<meta charset="UTF-8">
		<title>设备/终端调拨</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<link rel="stylesheet" href="../../css/font.css">
		<link rel="stylesheet" href="../../css/xadmin.css">
		<script type="text/javascript" src="../../lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="../../js/xadmin.js"></script>
		<script src="../../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/app.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.form-position {
				margin: 0.85rem;
				padding-top: 8px;
				background-color: white;
			}
		</style>
		<script type="text/javascript">
			layui.use('layer', function() {
				var layer = layui.layer;
				layer.open({
					content: '请选择调拨种类',
					btnAlign: 'r',
					anim: 5,
					icon: 7,
					cancel: function() {}
				});
			})
		</script>
	</head>

	<body>
		<div class="x-nav">
			<span class="layui-breadcrumb">
				<a href="">首页</a>
				<a href="">演示</a>
				<a>
					<cite>导航元素</cite></a>
			</span>
			<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()"
			 title="刷新">
				<i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
		</div>
		<div class="layui-fluid">
			<div class="layui-row layui-col-space15">
				<div class="layui-col-md12">
					<div class="layui-card">
						<div class="layui-card-body ">
							<div class="layui-collapse" lay-filter="test">
								<div class="layui-colla-item">
									<h2 class="layui-colla-title">先进行选择再调拨<i class="layui-icon layui-colla-icon"></i></h2>
									<div class="layui-colla-content" style="display: flex;">
										<div id="form">

											<form class="layui-form form-position layui-form-pane" style="margin: 0;" action="" lay-filter="Form" id="Form"
											 name="Form">
												<div class="layui-form-item">
													<label class="layui-form-label">选择物品</label>
													<div class="layui-input-inline layui-show-xs-block">
														<select name="category" id="category" lay-filter="category">
															<option value=""></option>
														</select>
													</div>
													<div class="layui-input-inline layui-show-xs-block">
														<select name="typical" id="typical" lay-filter="typical">

														</select>
													</div>
													<div class="layui-input-inline layui-show-xs-block" style="">
														<select name="brand" id="brand" lay-filter="brand">

														</select>
													</div>

													<div class="layui-input-inline layui-show-xs-block">
														<select name="typicalId" id="model" lay-filter="model">

														</select>
													</div>
												</div>
												<!-- 调拨源仓库 -->
												<div class="layui-form-item layui-hide" id="sourceRepoist_div">
													<label class="layui-form-label">来源仓库</label>
													<div class="layui-input-inline">
														<input type="text" name="SourceWorkId" id="SourceWorkId"
														placeholder="请输入源仓库人员的工号" autocomplete="off" class="layui-input">
<!--														onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"-->
<!--														onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}"-->
													</div>
													<div class="layui-input-inline layui-show-xs-block layui-hide" id="sourceRepoist_select_div">
														<select name="sourceRepoist_select" id="sourceRepoist_select" lay-filter="sourceRepoist_select">
												
														</select>
													</div>
													<div class="layui-inline layui-show-xs-block" id="source_button">
														<button class="layui-btn" lay-submit="" lay-filter="source_button" type="button"><i class="layui-icon"></i>查找此人</button>
													</div>
												</div>
												<!-- 调拨目标仓库 -->
												<div class="layui-form-item layui-hide" id="targetRepoist_div">
													<label class="layui-form-label">目标仓库</label>
													<div class="layui-input-inline">
														<input type="text" name="TargetWorkId" id="TargetWorkId"
														placeholder="请输入目标库人员的工号" autocomplete="off" class="layui-input">
													</div>
													<div class="layui-input-inline layui-show-xs-block layui-hide" id="targetRepoist_select_div">
														<select name="targetRepoist_select" id="targetRepoist_select" lay-filter="targetRepoist_select">

														</select>
													</div>
													<div class="layui-inline layui-show-xs-block" id="target_button">
														<button class="layui-btn" lay-submit="" lay-filter="target_button" type="button"><i class="layui-icon"></i>查找此人</button>
													</div>
												</div>
												<div class="layui-form-item layui-hide" id="Allot_num">
													<label class="layui-form-label">调拨数量</label>
													<div class="layui-input-inline">
														<input type="text" name="Allot_num" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^0-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
														 onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}"
														 placeholder="请输入数量" autocomplete="off"
														
														  class="layui-input">
													</div>
													 <div class="layui-form-mid layui-word-aux" id="source_left">
														 
														 </div>
												</div>
												<div class="layui-form-item layui-hide" id="Allot_button">
													<div class="layui-inline layui-show-xs-block">
														<button class="layui-btn layui-btn-danger" lay-submit="" lay-filter="search" type="button"><i class="layui-icon">&#x1005;</i>确认调拨</button>
													</div>
												</div>
											</form>
										</div>

									</div>
								</div>
							</div>
							<div class="layui-card-body " style="padding: 10px 0px;">

							</div>
							
						</div>
					</div>
				</div>
			</div>
		</div>
			<script src="Allot.js" type="text/javascript" charset="utf-8"></script>
			<script>
				var _hmt = _hmt || [];
				(function() {
					var hm = document.createElement("script");
					hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
					var s = document.getElementsByTagName("script")[0];
					s.parentNode.insertBefore(hm, s);
				})();
			</script>
	</body>

</html>
